package com.ruoyi.service;

import com.ruoyi.domain.AdvOrdersdetail;

import java.util.List;

/**
 * Service接口
 *
 * @author ruoyi
 * @date 2024-05-13
 */
public interface IAdvOrdersdetailService
{
    /**
     * 查询
     *
     * @param advOrdersdetailId 主键
     * @return
     */
    public AdvOrdersdetail selectAdvOrdersdetailByAdvOrdersdetailId(Long advOrdersdetailId);

    /**
     * 查询列表
     *
     * @param advOrdersdetail
     * @return 集合
     */
    public List<AdvOrdersdetail> selectAdvOrdersdetailList(AdvOrdersdetail advOrdersdetail);

    /**
     * 新增
     *
     * @param advOrdersdetail
     * @return 结果
     */
    public int insertAdvOrdersdetail(AdvOrdersdetail advOrdersdetail);

    /**
     * 修改
     *
     * @param advOrdersdetail
     * @return 结果
     */
    public int updateAdvOrdersdetail(AdvOrdersdetail advOrdersdetail);

    /**
     * 批量删除
     *
     * @param advOrdersdetailIds 需要删除的主键集合
     * @return 结果
     */
    public int deleteAdvOrdersdetailByAdvOrdersdetailIds(Long[] advOrdersdetailIds);

    /**
     * 删除信息
     *
     * @param advOrdersdetailId 主键
     * @return 结果
     */
    public int deleteAdvOrdersdetailByAdvOrdersdetailId(Long advOrdersdetailId);


    /**
     * 硬件订单明细
     * @param advOrdersId
     * @return
     */
    List<AdvOrdersdetail> selectOrderByMore(Long advOrdersId);

    /**
     * 内容订单明细
     * @param advOrdersId
     * @return
     */
    List<AdvOrdersdetail> selectOrderByMoreTwo(Long advOrdersId);
    List<AdvOrdersdetail> queryOrderByMoreThree(Long advOrdersId);

    List<AdvOrdersdetail> selectAdvOrdersdetailListApp(Long ordersId);

    List<AdvOrdersdetail> findBuy(Long advMembersId);

    int syncProduct(String advMembersId, Long[] advProductIds);

    List<AdvOrdersdetail> queryProductList(AdvOrdersdetail advOrdersdetail);

}
